#统计人数
class Student(object):
    count = 0
    def __init__(self,name):
        self.name = name
        Student.count += 1

    def text(self):
        print('text')

print(Student)
XQ = Student('小强')
XH = Student('小黄')
XY = Student('小箐')
XD = Student('小呆')
print(XQ.name)
print(XY.name)
print(Student.count)